package agent;

import java.awt.geom.Line2D;
import jade.core.Agent;

public class RoadAgent extends Agent {

	private Line2D line;

	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5822031196082780618L;

	protected void setup() {
		Object[] args = getArguments();
		if (args != null && args.length > 0) {
			line = new Line2D.Double((Double) args[0],(Double) args[1],(Double) args[2],(Double) args[3]);
		}
		System.out.println("Road: " + getAID());
		line.getBounds();
	}

	protected void takeDown() {
		
	}
}
